<template>
	<div class="app-wrapper clearfix" :class="{hideSidebar:!sidebar.opened}">
    <!--<sidebar class="sidebar-container"></sidebar>-->
    <!--<navbar></navbar>-->
		<div class="main-container3">
			<!--<tags-view></tags-view>-->
			<app-main></app-main>
		</div>
    <!--<Footerbar class="footer-bar"></Footerbar>-->
	</div>
</template>

<script>
import { Navbar, Sidebar, AppMain, TagsView, Footerbar } from 'views/layout/components'

export default {
  name: 'layout',
  components: {
    Navbar,
    Sidebar,
    AppMain,
    TagsView,
    Footerbar
  },
  computed: {
    sidebar() {
      return this.$store.state.app.sidebar
    }
  }
}
</script>

<style rel="stylesheet/scss" lang="scss" scoped>
	@import "src/styles/mixin.scss";
	.app-wrapper {
	  @include clearfix;
	  position: relative;
	  height: 100%;
	  width: 100%;
	}
</style>
